IntelliJPlatformPluginsExtension

abstract class IntelliJPlatformPluginsExtension @Inject constructor(configurations: ConfigurationContainer, dependencies: DependencyHandler, layout: ProjectLayout, objects: ObjectFactory, providers: ProviderFactory, repositories: RepositoryHandler, resources: ResourceHandler, rootProjectDirectory: Path, settingsRepositories: RepositoryHandler, intellijPlatformPluginDependencyConfigurationName: String, intellijPlatformPluginLocalConfigurationName: String)

Parameters

configurations

The Gradle ConfigurationContainer to manage configurations.

dependencies

The Gradle DependencyHandler to manage dependencies.

providers

The Gradle ProviderFactory to create providers.

rootProjectDirectory

The root project directory location.

Constructors

Link copied to clipboard
@Inject
constructor(configurations: ConfigurationContainer, dependencies: DependencyHandler, layout: ProjectLayout, objects: ObjectFactory, providers: ProviderFactory, repositories: RepositoryHandler, resources: ResourceHandler, rootProjectDirectory: Path, settingsRepositories: RepositoryHandler, intellijPlatformPluginDependencyConfigurationName: String, intellijPlatformPluginLocalConfigurationName: String)

Functions

Link copied to clipboard
fun disablePlugin(id: Provider<String>)

Disables plugin with a specific id.

Link copied to clipboard
fun disablePlugins(vararg ids: String)
fun disablePlugins(ids: Provider<List<String>>)

Disables plugins with a specific ids.

Link copied to clipboard
fun localPlugin(localPath: File)
fun localPlugin(localPath: String)
fun localPlugin(dependency: ProjectDependency): Boolean
fun localPlugin(localPath: Directory)
fun localPlugin(localPath: Provider<*>)

Adds dependency on a local IntelliJ Platform plugin.

Link copied to clipboard
fun plugin(notation: String)
fun plugin(notation: Provider<String>)

Adds a dependency on a plugin for IntelliJ Platform using a string notation, in the following formats:

fun plugin(id: String, version: String, channel: String = "")
fun plugin(id: Provider<String>, version: Provider<String>, channel: Provider<String>)

Adds a dependency on a plugin for IntelliJ Platform.

Link copied to clipboard
fun plugins(vararg notations: String)
fun plugins(notations: List<String>)
fun plugins(notations: Provider<List<String>>)

Adds dependencies on a plugin for IntelliJ Platform using a string notation, in the following formats: